<?php

require_once 'ActionFramework/start.php';
require_once 'views/all.cls.php';

class LogoutAction extends Action {
	
	// No fields required
	
	public function trigger($request) {
		$_SESSION['user'] = null;
		// Let the start action handle the job further
		$start_action = new StartAction();
		return $start_action->trigger($request);	
	}
	
}

?>
